package com.xb.loan.util.qrtz.task;

import java.util.Date;

/**
 * 
 * 简单任务
 */
public  abstract class AbstractSimpleTask extends AbstractTask {

    /**
     * 延时时间 单位 秒  1 -59 秒
     */
    int delay_second;
    
    /**
     * 执行时间
     */
    Date startTime;
    
    

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public int getDelay_second() {
        return delay_second;
    }

    public void setDelay_second(int delay_second) {
        this.delay_second = delay_second;
    }

	public AbstractSimpleTask() {
		requestRecovery = true;
		delay_second = 2;
		
	}
	public AbstractSimpleTask(String jobName) {
		super(jobName);
		requestRecovery = true;
		delay_second = 2 ;
	}
	



}
